package com.foeye.test.mapper;

import java.util.List;

import com.foeye.test.entity.Article;
import com.foeye.test.entity.User;
import com.foeye.test.entity.User_;
import com.foeye.test.entity.UserQueryVo;

public interface UserMapper {
	public User_ selectUserByID(int id);
	public List<User_> selectUsers(String userName);
	public void addUser(User_ user);
	public void updateUser(User_ user);
	public void deleteUser(int id);
	
	public List<Article> getUserArticles(int userid);
	
	public int findUserCount(UserQueryVo userQueryVo);
//	@Select()
	public User_ findUserByIdResultMap(int id);
	
	public List<User> findUserAndItemsResultMap();
	
	
	
	
}
